package com.more.spring.boot.springmybatisdemo.mapper;

import com.more.spring.boot.springmybatisdemo.pojo.User;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface UserMapper {

    @Select("select id, uname, gender from user_tb")
    public List<User> queryUsers();
}
